package com.woniuxy.entity;

import java.util.List;

public class QuestionTopic {
    private Integer id;

    private String topic;

    private QuestionType questionType;

    private int tid;

    private QuestionInventory questionInventory;

    private QuestionText questionText;

    private int iid;

    private String text;

    private int teid;

    private List<QuestionOption> options;

    public QuestionType getQuestionType() {
        return questionType;
    }

    public void setQuestionType(QuestionType questionType) {
        this.questionType = questionType;
    }

    public QuestionInventory getQuestionInventory() {
        return questionInventory;
    }

    public void setQuestionInventory(QuestionInventory questionInventory) {
        this.questionInventory = questionInventory;
    }

    public List<QuestionOption> getOptions() {
        return options;
    }

    public int getTeid() {
        return teid;
    }

    public void setTeid(int teid) {
        this.teid = teid;
    }

    private String analysis;

    private Integer typeid;

    public int getTid() {
        return tid;
    }

    public void setTid(int tid) {
        this.tid = tid;
    }

    public int getIid() {
        return iid;
    }

    public void setIid(int iid) {
        this.iid = iid;
    }

    public QuestionTopic() {
    }

    public void setOptions(List<QuestionOption> options) {
        this.options = options;
    }

    @Override
    public String toString() {
        return "QuestionTopic{" +
                "id=" + id +
                ", topic='" + topic + '\'' +
                ", questionType=" + questionType +
                ", questionInventory=" + questionInventory +
                ", text='" + text + '\'' +
                ", analysis='" + analysis + '\'' +
                ", options=" + options +
                '}';
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getAnalysis() {
        return analysis;
    }

    public void setAnalysis(String analysis) {
        this.analysis = analysis;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTopic() {
        return topic;
    }

    public void setTopic(String topic) {
        this.topic = topic;
    }

    public Integer getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    public QuestionText getQuestionText() {
        return questionText;
    }

    public void setQuestionText(QuestionText questionText) {
        this.questionText = questionText;
    }
}